package com.hz.us.service;

public interface UserManagerService {

    int addGrade(String gradeName, String gradeYear);

    int addClass(String className, Integer gradeId);

    int addManager(String username, String realname, String password);

    int addTeacher(String username, String realname, String password, String schoolId);

    int addStudent(String username, String realname, String password, String studentId, Integer gradeId, Integer classId);

    String login(String username, String password, Integer userType);

    int logout(String username);

    int changePwd(Integer userId, String originPwd, String newPassword);

}
